package com.bzy.blp.mapper;

import com.bzy.blp.model.TDrillingImg;
import com.bzy.blp.model.TDrillingImgCriteria;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TDrillingImgMapper {
    long countByExample(TDrillingImgCriteria example);

    int deleteByExample(TDrillingImgCriteria example);

    int deleteByPrimaryKey(Integer id);

    int insert(TDrillingImg record);

    int insertSelective(TDrillingImg record);

    List<TDrillingImg> selectByExample(TDrillingImgCriteria example);

    TDrillingImg selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TDrillingImg record, @Param("example") TDrillingImgCriteria example);

    int updateByExample(@Param("record") TDrillingImg record, @Param("example") TDrillingImgCriteria example);

    int updateByPrimaryKeySelective(TDrillingImg record);

    int updateByPrimaryKey(TDrillingImg record);
}